#!/bin/bash

TOPIT=$1
ZK_IP=${2:-"112.74.114.59"}


docker run --rm ches/kafka \
    kafka-topics.sh --create \
    --topic $TOPIT \
    --replication-factor 1 \
    --partitions 6 \
    --zookeeper $ZK_IP:2181